<?php
namespace app\demo\controller;
use app\BaseController;
use app\common\model\mysql\User2;

class Index extends BaseController
{

    public function index()
    {
/*        $status = $this->request->param('status',0,'intval');
        if(empty($status)){
            return show(config('status.error'),'参数错误');
        }
        $model = new User2();
        $result = $model->where('status',$status)
            ->limit(10)
            ->order('id','desc')
            ->select();

        return show(config('status.success'),'ok',$result);*/

//        throw new \think\exception\HttpException(404,'找不到数据');

        dump("index");


    }
}